﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Core.Plugin
{
    [AttributeUsage(AttributeTargets.Assembly)]
    public class PluginViewLocations : Attribute
    {
        public string[] ViewLocations { get; set; }
        public string Name { get; set; }
        public string Version { get; set; }
        public string CoreVersionRequired { get; set; }
        public string DBVersionRequired { get; set; }
        public string Area { get; set; }
        public string Controller { get; set; }
        public string Action { get; set; }
        public string UserPermission { get; set; }
        public string AdminController { get; set; }
        public string AdminAction { get; set; }
        public string AdminPermission { get; set; }
        public string IsIndexedYN { get; set; }

        public PluginViewLocations(string[] viewLocations)
        {
            this.ViewLocations = viewLocations;
        }
    }
}